<div class="page-content" >
		
    <div class="panel panel-default">
	<div class="panel-heading">
            <ul class="breadcrumb">
				 
				<li><a href="<{:U('Subject/index')}>">课程管理</a> </li>
			 
				<li><{$subject_data.subject}>章节管理</li>
				 
			</ul>
			</div>
        <div class="panel-body">
            <div id="toolbar" style="width: 100%;">
                <form id="filter" method="get"  class="form-horizontal">
                    <div class="form-group">
                        <div class="col-sm-3">
                            <input type="text" name="kw"  value="<{$kw}>" class="form-control" placeholder="关键字">
                        </div>
						<div class="col-sm-4" style="float:right; width:auto">
                            <input type="submit" class="btn btn-primary pull-right" value="筛选">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-8">
                            <a href="<{:U('Subject/add_section',array('subjectid'=>$subjectid))}>" class="btn btn-default">
                                <i class="fa fa-plus"></i>
                                添加章节
                            </a>
                        </div>
                         
                    </div>
                </form>
            </div>
            <div class="bootstrap-table"> <div class="fixed-table-container" style="padding-bottom: 0px;"> <div class="fixed-table-body"> 
			<table id="data-table" class="table"><thead>
			<tr>
			 
			<th style="" data-field="id"><div class="th-inner sortable both desc">ID</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">章节名称</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">科目</div><div class="fht-cell"></div></th> 
			<th style="" data-field="created_at"><div class="th-inner ">添加时间</div><div class="fht-cell"></div></th>
		<!--	<th style="" data-field="created_at"><div class="th-inner ">状态</div><div class="fht-cell"></div></th>-->
			<th style="" data-field="name"><div class="th-inner ">顺序</div><div class="fht-cell"></div></th>
			<th style="" data-field="id"><div class="th-inner ">操作</div><div class="fht-cell"></div></th>
			</tr></thead>
			<tbody>
			<volist name="data" id="vo">
			<tr data-index="0">
		 
			<td style=""><{$vo.sectionid}></td>
			<td style=""><{$vo.section}></td>
			<td style=""><{$vo.subject}></td>
			<td style=""><{$vo.add_time}></td>
		 
			<td style=""><input type="text" key="sectionid" placeholder="顺序" onblur="set_order(this)" table="edu_sections" id="<{$vo.sectionid}>" value="<{$vo.order_by}>"   /></td>
			<td style="">
			<a href="<{:U('Subject/add_section',array('id'=>$vo['sectionid']))}>" class="btn btn-primary btn-xs">编辑</a>&nbsp;&nbsp;
			<!--<a href="<{:U('Subject/status_section',array('id'=>$vo['sectionid']))}>" class="btn btn-primary btn-xs delete-this"><{$vo['status']==1?"禁用":"启用"}></a>-->
			&nbsp;&nbsp;<a href="<{:U('Subject/knows',array('sectionid'=>$vo['sectionid']))}>" class="btn btn-primary btn-xs delete-this">查看课时</a>
			&nbsp;&nbsp;<a onclick="return confirm('确认删除？')"  href="<{:U('Subject/del_section',array('id'=>$vo['sectionid']))}>" class="btn btn-primary btn-xs delete-this">删除</a> 
			</td>
			</tr>
			</volist>
			</tbody></table>
			 </div> 
			  <include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" />
			
			</div></div><div class="clearfix"></div>
        </div>
    </div>
     

        </div>